<template>
  <div class="pdf-layout pdf-break-page">
    <main>
      <slot></slot>
    </main>
  </div>
</template>

<script setup>
</script>
<style scoped lang="less">
@import url("./less/vars.less");
.pdf-layout {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  &:last-child {
    margin-bottom: 0;
  }
  main {
    flex: 1;
    & > * {
      overflow: hidden;
    }
  }
}
</style>
